package cn.gorit.entity.user;

import java.io.Serializable;

/**
 * @version v1.0
 * @Classname Subscribe
 * @Description 用户订阅实体类
 * @Author Gorit
 * @Created by 2021/3/8 23:38
 * @IDLE IntelliJ IDEA
 **/
public class Subscribe implements Serializable {

    // 订阅 ID，主键
    private Integer subId;

    // 当前用户 ID
    private String curUserId;

    // 被关注者 ID
    private String subedUserId;

    // 是否回关 0 没有回关， 1 回关
    private Integer followMe;

    // 关注日期
    private String subTime;


    public Subscribe() {
    }

    public Integer getSubId() {
        return subId;
    }

    public void setSubId(Integer subId) {
        this.subId = subId;
    }

    public String getCurUserId() {
        return curUserId;
    }

    public void setCurUserId(String curUserId) {
        this.curUserId = curUserId;
    }

    public String getSubedUserId() {
        return subedUserId;
    }

    public void setSubedUserId(String subedUserId) {
        this.subedUserId = subedUserId;
    }
    public Integer getFollowMe() {
        return followMe;
    }

    public void setFollowMe(Integer followMe) {
        this.followMe = followMe;
    }

    public String getSubTime() {
        return subTime;
    }

    public void setSubTime(String subTime) {
        this.subTime = subTime;
    }

    @Override
    public String toString() {
        return "Subscribe{" +
                "subId='" + subId + '\'' +
                ", curUserId='" + curUserId + '\'' +
                ", subedUserId='" + subedUserId + '\'' +
                ", followMe=" + followMe +
                ", subTime='" + subTime + '\'' +
                '}';
    }
}
